<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/4/2
 * Time: 14:20
 */
namespace app\ctrl;
use core\lib\model;
class IndexCtrl extends \core\free
{
    public function index()
    {

        $model = new model();
        $data = $model->select("user", [
            "id",
            "name"
        ]);
        dump($data);
//        $this->assign('data','hello');
//        $this->display('index.html');
    }
}